package com.niiwoo.civet.trade.dto.common;

import com.niiwoo.civet.trade.dto.response.cardniu.RepayPlanInfo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Getter
@Setter
public class ProjectSummaryDTO implements Serializable{
    private static final long serialVersionUID = 7285372791234453280L;

    private Long projectId;

    private BigDecimal totalLoan; //放款金额

    private BigDecimal totalAmount = BigDecimal.ZERO; //待还总金额

    private BigDecimal paidAmount; //已还总金额

    private Date loanTime; //放款时间


    private Date repayPlanVersionTime; //最后还款时间
    private Integer finishPeriod; //已还期数

    private Integer totalPeriod; //总期数

    private String channelCode;  //投放渠道CODE(app为默认渠道   kaolalicai考拉理财  tuandai团贷)

    private List<RepayPlanInfo> planInfoList;

}
